Adam K Dean

Posts tagged with webapi

No MediaTypeFormatter is available

Published 24 October 2013 in archive with tags aspnet , webapi You may have come across the error message No MediaTypeFormatter is available to read an object of type T from content with media type 'text/plain'. during your adventures in ASP.NET Web API. Tonight it was my turn to be faced with this bothersome little 'issue'. Continue reading …

Enable cross-origin resource sharing (CORS) in IIS

Published 18 September 2013 in archive with tags iis , webapi , cors , webconfig If you're hosting your API on a different domain to your app, such as api.domain.com, you may be hitting into some cross-origin request roadblocks. In IIS, this is pretty easy to fix -- or well -- disable. Continue reading …



Newer Page 1 of 1 Older